#define STD_SIZE 6400
#ifdef LIKWID_PERFMON
#include <likwid.h>
#define CALC_BALANCER_START \
  int size_cnt = 0;\
  while (size_cnt < STD_SIZE)\
  {\
    size_cnt += A.w * A.h;
#define CALC_BALANCER_END }

#else
#define LIKWID_MARKER_INIT
#define LIKWID_MARKER_THREADINIT
#define LIKWID_MARKER_SWITCH
#define LIKWID_MARKER_REGISTER(regionTag)
#define LIKWID_MARKER_START(regionTag)
#define LIKWID_MARKER_STOP(regionTag)
#define LIKWID_MARKER_CLOSE
#define LIKWID_MARKER_GET(regionTag, nevents, events, time, count)

#define STD_SIZE
#define CALC_BALANCER_START 
#define CALC_BALANCER_END
#endif